Automattic\WooCommerce\Pinterest\Tracking A

Total Complexity 75
Dependencies 5
Dependents 3
Total lines 647
Lines of code 277
Logical lines of code 130
Comment lines 182
Methods 25
Properties 6

Methods 25

Method Rating Maintainability Complexity Lines of code
maybe_init()
A
47 9 33
hook_checkout_event()
S
47 6 35
get_hashed_customer_email()
S
60 7 12
hook_add_to_cart_event()
S
54 5 19
base_tag()
S
60 4 13
get_third_party_installed_tags()
S
61 4 13
maybe_connect_advertiser_tag()
S
66 4 8
tracking_enabled()
S
65 4 9
save_async_events()
S
71 3 5
enqueue_scripts()
S
63 3 10
prepare_event_code()
S
66 3 8
print_script()
S
65 3 9
page_visit_event()
S
61 2 13
get_third_party_tags_warning_message()
S
60 2 13
category_visit_event()
S
63 2 11
ajax_tracking_snippet()
S
60 1 18
load_async_events()
S
69 2 7
add_event()
S
73 2 4
print_noscript()
S
66 2 8
verify_advertiser_connection()
S
66 2 8
filter_add_to_cart_attributes()
S
66 1 8
late_events_handling()
S
77 1 4
get_active_tag()
S
80 1 3
enqueue_event()
S
78 1 3
print_event()
S
78 1 3